package com.ruoyi.ae.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.gather.api.domain.Aliexpress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(contextId = "remoteAeCategoryService", value = ServiceNameConstants.AE_SERVICE)
public interface RemoteAeCategoryService {

    @GetMapping("/ae/category/getByCategoryId/{categoryId}")
    public R<String> getByCategoryId(@PathVariable("categoryId") String categoryId);

    @GetMapping("/ae/category/getBrandByIdInnerAuth/{categoryId}/{storeId}")
    public R<Object> getBrandByIdInnerAuth(@PathVariable("categoryId") Long categoryId, @PathVariable("storeId") Long storeId);


}
